<script type="text/javascript">  

$(document).ready(function(){

    try {
                                                               
        window.opener.Suppliers_Standalone_Success('<?=$id?>');
        window.opener.focus();
        window.close();

    } catch (objError){

        alert("There was an error passing the data back to the parent window: "+objError);

    }

});

</script>